﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="VelocityDemo.Web.FeatureDemo._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body style="font-family: 'Segoe UI',‘Lucida Grande’,Verdana,Arial,Helvetica,sans-serif;
    font-size: 10pt; padding: 10px;">
    <form id="form1" runat="server">
    <div>
        <h3>
            Sharing Cache between ASP.Net and Winform</h1>
            <asp:RadioButton ID="optUseSingleServerCluster" runat="server" GroupName="clusteType"
                Text="use Single-Server cluster" Checked="true" /><br />
            <asp:RadioButton ID="optUseMultipleServerCluster" runat="server" GroupName="clusteType"
                Text="use 3-Server cluster" /><br />
            <br />
            <div style="margin: 0; vertical-align: middle; height: 50px;">
                <span>Write something here: </span>
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>&nbsp;<asp:Button ID="btnPut"
                    runat="server" Text="Put in cache" OnClick="btnPut_Click" /></div>
            <div style="margin: 0; vertical-align: middle; height: 50px;">
                <asp:Button ID="Button1" runat="server" Text="Get from cache" OnClick="btnGet_Click" />
                <span>Cache content: </span>
                <asp:Label ID="lblResult" runat="server" Text="..." /></div>
    </div>
    </form>
</body>
</html>
